package com.iman.sumer.exception;

public class Web7ServiceException extends Web7BaseException {
 
	private static final long serialVersionUID = 1L;
	
	
	protected Object service ;
	protected Object method;
	protected Object reason;
	public Web7ServiceException(Object controller , Object method,Object reason) {
		super();
		this.service = controller;
		this.method = method;
		this.reason = reason;
    }

  
    public Web7ServiceException(Object controller , Object method,Object reason,String message) {
    	super(message);
    	this.service = controller;
		this.method = method;
		this.reason = reason;
    }
    
    @Override
    public String toString(){
    	return String.valueOf( this.service)  +  String.valueOf( this.method)+  String.valueOf( this.reason) ;
    }
}
